package shape;

public class Circle extends Shape implements Drawable {
	private double radius;
	public Circle(double radius) {
		this.radius=radius;
	}
	@Override
	public double getArea() {
		return Math.PI*radius*radius;
	}
	@Override
	public void draw() {
		System.out.println("绘制一个半径为"+radius+"的圆。");
	}
	

}
